import React from 'react'
import style from './homeNoLogin.module.scss'
import { withRouter } from 'react-router-dom'

function NoLogin(props) {
    return (
        <div className={style.nologinBox}>
            <img className={style.nologinImg} src={require('@/static/imges/nologin.png')} alt="" />
            <p className={style.noLoginTips}>没有结果</p>
            <button className={style.noLoginBtn} type="primary" onClick={() => { props.history.push('/login') }}>登录</button>
        </div>
    )
}


export default withRouter(NoLogin);